<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //自执行函数,可以有函数名椰可以没有,可以有参数,可以有返回值,只执行一次,执行完成后销毁
        (function adc(a, b, c) {
            //return a+b+c;
            console.log(a + b + c);
        }(1, 2, 3));
    </script>
</body>

</html>